package com.xxh.myapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (Stucl)表实体类
 *
 * @author makejava
 * @since 2020-05-01 19:29:53
 */
@SuppressWarnings("serial")
public class Stucl extends Model<Stucl> {

    @TableId(type = IdType.AUTO)
    private Integer clno;
    private String clname;
    private Integer stuNum;
    private Integer majorId;


    public String getClname() {
        return clname;
    }

    public void setClname(String clname) {
        this.clname = clname;
    }

    public Integer getClno() {
        return clno;
    }

    public void setClno(Integer clno) {
        this.clno = clno;
    }

    public Integer getStuNum() {
        return stuNum;
    }

    public void setStuNum(Integer stuNum) {
        this.stuNum = stuNum;
    }

    public Integer getMajorId() {
        return majorId;
    }

    public void setMajorId(Integer majorId) {
        this.majorId = majorId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.clno;
    }
    }